package com.wpp.mq.config;

import org.springframework.context.annotation.Configuration;

/**
 * @description:
 * @author: WangPengPeng
 * @create: 2021-12-08 21:50
 **/
@Configuration
public class RocketmqConfig {
    private String PRODUCER_GROUP_TAG_NAME = "producer_grp_tag_01";
    private String NAME_SRV_ADDR = "node1:9876";


   /* @Bean
    public DefaultMQProducer buildProducer() throws MQClientException {
        DefaultMQProducer producer = new DefaultMQProducer(PRODUCER_GROUP_TAG_NAME);

        producer.setNamesrvAddr(NAME_SRV_ADDR);

        producer.start();
        return producer;
    }*/
}
